package com.we823.cms.model.cms;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.we823.cms.model.BaseModelWithDate;

@Entity
@Table(name="cms_photo_link")
public class PhotoLink extends BaseModelWithDate<Integer> {
	private static final long serialVersionUID = 4013089717937758844L;

	private String name;
	
	private String category;
	
	@Column(name="img_url")
	private String imgUrl;
	
	@Column(name="link_url")
	private String linkurl;
	
	private int orderid;
	
	private String caption;
	
	private String content;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getLinkurl() {
		return linkurl;
	}
	public void setLinkurl(String linkurl) {
		this.linkurl = linkurl;
	}
	public int getOrderid() {
		return orderid;
	}
	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}
	public String getCaption() {
		return caption;
	}
	public void setCaption(String caption) {
		this.caption = caption;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	
}
